<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport" />
    <title>React App</title>
  </head>
  <!-- <script>
      // 根据屏幕的宽度， 动态设置根元素的fontSize
    const setRootFontSize = () => {
      // 获取屏幕宽度
      var width = document.documentElement.clientWidth;
      //设置html的fontSize
      document.documentElement.style.fontSize = (width / 10) + 'px'
    }
    window.onresize = setRootFontSize;
    setRootFontSize();
  </script> -->
  <body>
    <div id="app"></div>
    <script src="./index.js"></script>
  </body>
</html>
